Fully Qualified Name: | Laminas\ModuleManager\Listener\ModuleLoaderListener |
Extends: | AbstractListener |
Implements: | ListenerAggregateInterface |
Module loader listener
Name | Description | Defined By |
---|---|---|
__construct() | Constructor. | ModuleLoaderListener |
attach() | {@inheritDoc} | ModuleLoaderListener |
detach() | {@inheritDoc} | ModuleLoaderListener |
getOptions() | Get options. | AbstractListener |
onLoadModulesPost() | loadModulesPost | ModuleLoaderListener |
setOptions() | Set options. | AbstractListener |
Constructor.
Creates an instance of the ModuleAutoloader and injects the module paths into it.
Parameter Name | Type | Description |
---|---|---|
$options | \ListenerOptions |
Returns:
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$events | ||
$priority |
Returns:
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$events |
Returns:
Get options.
Returns: \ListenerOptions
loadModulesPost
Unregisters the ModuleLoader and generates the module class map cache.
Parameter Name | Type | Description |
---|---|---|
$event | \ModuleEvent |
Returns:
Set options.
Parameter Name | Type | Description |
---|---|---|
$options | \ListenerOptions | the |
Returns: \AbstractListener